package com.third.ssh.dao;

import java.util.List;

import com.third.ssh.domain.Department;
import com.third.ssh.domain.Employee;

public interface EmployeeDao {

	public Employee findByUsernameAndPassword(Employee employee);
	public int findCount();
	public List<Employee> findByPage(int begin,int pageSize);
	public void save(Employee employee);
	public List<Department> findAll();
	public Employee findById(int eid);
	public void updata(Employee employee);
	public void delete(Employee employee);
}
